﻿/*
* 作 者: 槐尧
* 公 司: 墨宇天城
* 创建时间: 2016/3/2 15:10:16
* 说明:  
*/

using System.Collections;
using System.Collections.Generic;
using System;

public class MessageAction
{
    public static void ActionLogin(string connectedId,Dictionary<string,object> message)
    {
        HYClient client = new HYClient(message);
        string ip = DictionaryUnity.GetSafeStringValue(message, "ip");
        string name = DictionaryUnity.GetSafeStringValue(message, "name");
        string coin = DictionaryUnity.GetSafeStringValue(message, "coin");
        Console.WriteLine(ip);
        Console.WriteLine(name);
    }
}